﻿@model RMS.Models.ProblemGroup

@{
    ViewBag.Title = "Overview";
    int year = DateTime.Now.Year;
    string src1 = "/Problem/OccurenceChart?year=" + year.ToString();
    string src2 = "/Problem/OccurenceChart?year=" + (year-1).ToString();
    string src3 = "/Problem/OccurenceChart?year=" + (year-2).ToString();

    string src4 = "/Problem/CostChart?year=" + year.ToString();
    string src5 = "/Problem/CostChart?year=" + (year-1).ToString();
    string src6 = "/Problem/CostChart?year=" + (year-2).ToString();
}

<h2>Problems Overview</h2>
<img src=@src1 alt="Chart Overview"/><img src=@src4 alt="Chart Overview"/><br />
<img src=@src2 alt="Chart Overview"/><img src=@src5 alt="Chart Overview"/><br />
<img src=@src3 alt="Chart Overview"/><img src=@src6 alt="Chart Overview"/><br />



